package it.univpm.diiga.memorysim.kernel.shared;

public class ElementRootDir {

private int id_file,id_block;
private long start,end;
	
	//costruttore per l'allocazione allocazione indicizzata
	public ElementRootDir(int id_file,int id_block){
		this.id_file=id_file;
		this.id_block=id_block;
	}
	
	//costruttore per l'allocazione contigua e concatenata
	public ElementRootDir(int id_file,long start,long end){
		this.id_file=id_file;
		this.start=start;
		this.end=end;
	}
	
	public int getIdFile(){
		return this.id_file;
	}
	public int getIdBlock(){
		return this.id_block;
	}
	
	public long getEnd(){
		return this.end;
	}
	
	public long getStart(){
		return this.start;
	}
	
}
